Skip to content

Conversation

@Wuhall
Copy link

@Wuhall Wuhall commented Dec 11, 2025

  1. Build the project (if not already built):

    source ~/unitree_ros2/setup.sh  # or setup_local.sh
    cd ~/unitree_ros2/example
    colcon build
  2. Run the node:

    source install/setup.bash
    ./install/unitree_ros2_example/bin/cmd_vel_subscriber
  3. Test by publishing a cmd_vel command:

    ros2 topic pub /cmd_vel geometry_msgs/msg/Twist "{linear: {x: 0.3, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.2}}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant